package com.yt.base.model;

import com.google.common.base.MoreObjects;

import java.io.Serializable;

/**
 * Created by liujunshi on 15-1-28.
 */
public class AclUser  implements Serializable {
	private Long id;
	private Long groupId;
	private String name;
	private String password;
	private String nick;
	private Integer status;
	public AclUser(){

	}
	public AclUser(String name, String nick, String password, Long groupId){
		this.name = name;
		this.nick = nick;
		this.password = password;
		this.groupId = groupId;
		this.status=0;
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

    @Override
	public String toString() {
		return MoreObjects.toStringHelper(this).add("id", id).add("name", name).add("nick", nick).toString();
	}
}
